import{createRouter,createWebHistory}from'vue-router'
let router=createRouter({
  history:createWebHistory(),
  routes:[
    {
      path:'/',
      redirect:'/login'
    },
    {
      path:'/login',
      component:()=>import("../views/Login.vue")
    },
    {
      path:'/madd',
      component:()=>import("../views/MAdd.vue")
    },
    {
      path:'/mshow',
      component:()=>import("../views/MShow.vue")
    },
    {
      path:'/padd',
      component:()=>import("../views/PAdd.vue")
    },
    {
      path:'/pshow',
      component:()=>import("../views/PShow.vue")
    },

  ]
})
export default router